package com.alpaca.recommend.bean;

import com.alpaca.recommend.hbase.activerecord.HModel;

/**
 * Created by Administrator on 2015/2/9.
 */
public class User extends HModel<User> {

    public static final User dao = new User();
    /**
     * 用户表群组.
     */
    public static final String USER_U_FAMILY = "u";

    /**
     * userid:用户id.
     */
    public static final String USER_U_USER_ID = "userid";


    /**
     * 初始化构造函数.
     */
    public void init(String userid) {
        //设置rowkey.
        setRow(userid);
        //设置用户id.
        set(USER_U_FAMILY, USER_U_USER_ID, userid);
    }

}
